package demo6;

public class singletondemo
{
    public static void main(String[] args)
    {
       singleton s1=singleton.getInstance();
       singleton s2=singleton.getInstance();
       System.out.println(s1);
       System.out.println(s2);
    }
}
